package com.kuang.demo.mapper;

import com.kuang.demo.bean.GoodsBean.GoodsVO.GoodsCommetVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsCommentMapper {

    int selectTotalById();

    List<GoodsCommetVO.ItemsBean> selectGoodsCommentsBySortAndOrder(@Param("sort") String sort, @Param("order") String order, @Param("userId") int userId, @Param("valueId") int valueId);

    void deleteGoodsCommentById(@Param("id") int id);
}
